#include <iostream>
#include <cstdio>
#include <cstring>
using namespace std;

int main(){
	char c; 
	while(cin>>c){
		if(c>='A'&&c<='Z') c=(c-'A'+3)%26+'A';
		else if(c>='a'&&c<='z') c=(c-'a'+3)%26+'a';
		cout<<c;
	}
	return 0;
}
